package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;

public interface WmChannelService extends IService<WmChannel> {

    //查询所有频道
    public ResponseResult findAll();

    //频道名称模糊分页查询
    ResponseResult pageInfo(ChannelDto dto);

    //新增频道
    ResponseResult add(WmChannel wmChannel);

    //修改频道
    ResponseResult updateChannel(WmChannel wmChannel);

    //删除频道
    ResponseResult delete(Integer id);
}
